package io.eleKing.boot.weather.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.eleKing.boot.weather.entity.WeatherDayData;
import io.eleKing.boot.weather.query.WeatherDayDataQuery;
import io.eleKing.boot.weather.vo.WeatherDayDataVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *  Mapper 接口
 *
 * @author eleKing
 * @since 2025-04-15
 */
@Mapper
public interface WeatherDayDataMapper extends BaseMapper<WeatherDayData> {

    /**
     * 详情
     *
     * @param id
     * @return
     */
    WeatherDayDataVo getWeatherDayDataById(Long id);

    /**
     * 分页列表
     *
     * @param query
     * @return
     */
    List<WeatherDayDataVo> getWeatherDayDataPage(WeatherDayDataQuery query);

}
